



<div class="x-body">
    <form class="layui-form form_single" id="form" action="{:url()}" method="post">
        <div class="layui-form-item">
            <label for="username" class="layui-form-label">
                <span class="x-red">*</span>玩法名称</label>
            <div class="layui-input-block">
                <input type="text" id="username" name="name" onchange="this.value=this.value.substring(0, 50)" onkeydown="this.value=this.value.substring(0, 30)" onkeyup="this.value=this.value.substring(0, 30)" required="" lay-verify="required"
                       autocomplete="off"  value="{$info['name']|default=''}" class="layui-input">
            </div>
            <div style="color: red !important;" class="layui-form-mid layui-word-aux">
                （限制50字符）
            </div>
        </div>
        <div class="layui-form-item">
            <label for="symbol" class="layui-form-label">
                标识
            </label>
            <div class="layui-input-block">
                <input type="text" id="symbol" name="symbol"
                       autocomplete="off" class="layui-input"  value="{$info['symbol']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 标识)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="platform play_id" class="layui-form-label">
                第三方玩法id
            </label>
            <div class="layui-input-block">
                <input type="text" id="platform play_id" name="number"
                       autocomplete="off" class="layui-input"  value="{$info['platform play_id']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 第三方玩法id)
            </div>
        </div>


        <div class="layui-form-item">
            <label for="symbol" class="layui-form-label">
                中奖号码/下注内容
            </label>
            <div class="layui-input-block">
                <input type="text" id="number" name="number"
                       autocomplete="off" class="layui-input"  value="{$info['number']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 中奖号码/下注内容)
            </div>
        </div>
        <div class="layui-form-item">
            <label for="max_reward" class="layui-form-label">
             最高奖金
            </label>
            <div class="layui-input-block">
                <input type="number" id="max_reward" name="max_reward"
                       autocomplete="off" class="layui-input"  value="{$info['max_reward']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 最高奖金)
            </div>
        </div>
        <div class="layui-form-item">
            <label for="min_reward" class="layui-form-label">
                最低奖金
            </label>
            <div class="layui-input-block">
                <input type="number" id="min_reward" name="min_reward"
                       autocomplete="off" class="layui-input"  value="{$info['min_reward']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 最低奖金)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="is_max_reward" class="layui-form-label">
                中奖最高奖金
            </label>
            <div class="layui-input-block">
                <input type="number" id="is_max_reward" name="is_max_reward"
                       autocomplete="off" class="layui-input"  value="{$info['is_max_reward']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 中奖最高奖金)
            </div>
        </div>
        <div class="layui-form-item">
            <label for="is_max_reward" class="layui-form-label">
                总注数
            </label>
            <div class="layui-input-block">
                <input type="number" id="total_injection" name="total_injection"
                       autocomplete="off" class="layui-input"  value="{$info['total_injection']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 总注数)
            </div>
        </div>
        <div class="layui-form-item">
            <label for="max_injection" class="layui-form-label">
                最高注数
            </label>
            <div class="layui-input-block">
                <input type="number" id="max_injection" name="max_injection"
                       autocomplete="off" class="layui-input"  value="{$info['max_injection']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 最高注数)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="min_consumption" class="layui-form-label">
                最低消费
            </label>
            <div class="layui-input-block">
                <input type="number" id="min_consumption" name="min_consumption"
                       autocomplete="off" class="layui-input"  value="{$info['min_consumption']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 最低消费)
            </div>
        </div>


        <div class="layui-form-item">
            <label for="max_consumption" class="layui-form-label">
                最高消费
            </label>
            <div class="layui-input-block">
                <input type="number" id="max_consumption" name="max_consumption"
                       autocomplete="off" class="layui-input"  value="{$info['max_consumption']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 最高消费)
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span> 玩法提示
            </label>
            <div class="layui-input-block">
                <textarea class="form-control textarea_editor" name="describle" placeholder=" 玩法提示">{$info['describle']|default=''}</textarea>
                {:widget('editor/index', array('name'=> 'describle','value'=> ''))}
            </div>
        </div>

            <div class="layui-form-item">
                <label  class="layui-form-label">
                    <span class="x-red">*</span>彩种分类
                </label>
                <div class="layui-input-block">
                    <select name="cate_id" >
                        {volist name='cate' id='vo'}
                        <option value="{$vo['id']}" {notempty name="$info['cate_id']"}{if condition="$info['cate_id'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                        {/volist}
                    </select>
                </div>
                <div class="layui-form-mid layui-word-aux">
                    (彩种分类)
                </div>

            </div>

            <div class="layui-form-item">
                <label  class="layui-form-label">
                    <span class="x-red">*</span>玩法分类
                </label>
                <div class="layui-input-block">
                    <select name="play_cate_id" >
                        {volist name='play_cate' id='vo'}
                        <option value="{$vo['id']}" {notempty name="$info['play_cate_id']"}{if condition="$info['play_cate_id'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                        {/volist}
                    </select>
                </div>
                <div class="layui-form-mid layui-word-aux">
                    (玩法分类)
                </div>

            </div>






        <div class="box-footer">
            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
            <input type="hidden" name="is_old" value="{$is_old|default='0'}"/>
            {include file="layout/edit_btn_group"/}

        </div>

    </form>
</div>

<script>




</script>
